export class QueOutput {
	constructor(
		public Que: QueInfo = null,
		public State: number
	) {

	}

}

export class QueInfo {
	constructor(
		public FCode = null,
		public FEndFlag = null,
		public FEndNumOrTime = "",
		public FEndTime = null,
		public FEndType = null,
		public FExamPerson = null,
		public FExamTime = null,
		public FFinish = null,
		public FIsEnable = "",
		public FIsOut = "",
		public FIsTest = "",
		public FModelType: number = null,
		public FPersonID = "",
		public FPersonName = "",
		public FPreface = "",
		public FPublishTime = "",
		public FPublisher = "",
		public FPwd = "",
		public FQId = "",
		public FSpeed: number = null,
		public FStartTime: string = "",
		public FState: number = null,
		public FTitle: string = "",
		public FType: string = null,
		public FUrl: string = null,
		public FVersionCode: string = null,
		public FipEnableNum: number = null,
		public Phoneset = new Array<any>(),
		public listTopic = new Array<TopicInfo>(),
		public answerlognumber = 0,

	) { }
}

export class TopicInfo {
	constructor(
		public FAnswerContent = null,
		public FAnswerForm = "",
		public FAnswerKey = null,
		public FColumnNum = null,
		public FContentLimit = "",
		public FCreateTime = "2018-06-15 16=39=26",
		public FDifficulty = 0,
		public FDmt = null,
		public FFlag = null,
		public FGotoTopic = "",
		public FHint = "",
		public FImg = null,
		public FLayoutTopic = 0,
		public FMaxNum = null,
		public FMinNum = null,
		public FNeedAnswer = 1,
		public FOrderNum = 14,
		public FPersonID = "2",
		public FPersonName = "admin",
		public FQId = "cef0b98d-12aa-459b-8324-3a3ed70bc55b",
		public FQuoteTopic = "",
		public FRowNum = null,
		public FScore = null,
		public FSkip = null,
		public FSource = 0,
		public FSourceTopicId = null,
		public FStandardId1 = null,
		public FStandardId2 = "",
		public FTemplateType = null,
		public FTexttypeNum = 0,
		public FTitle = "联动",
		public FTopicId = "3ada4389-d330-41e3-a2c3-a55472c106a4",
		public FType = "10017",
		public Flenth = null,
		public FselectItemNum = null,
		public FycOpt = null,
		public listColumn = new Array<ColumnInfo>(),
		public listRow = new Array<RowInfo>(),
		public Dropdowns = new Array<DropdownInfo>(),
		public mp3 = "",
		public mp4 = "",
		public dmtType = "",
		public TempResult,
		public FAudioLength = 0,
		public FImage = "",
		public FAudio = "",
		public FTitleYuan = "",
		public FShow = true,
		public checkBox,

		public imgs,
		public proportion,
		public completion,
		// public testChecked,


		public subjectivity,
		public regtemplateActive,
		public regtext,
		public testCompletion,
		public isSelected,

		public timeyear,
		public timemonth,
		public timeday,
		public timehour,
		public timeminite,

		public timesecond,
		public strarr10003 = new Array<string>(),
		public strarr10020 = new Array<string>(),
		public typename = "填空题",

		//
		public longitude = "",
		public lat = "",
		public Address = "",
		public gengx = false,
		public isComplte: boolean,
		public maxmin = "",
		public hasw=1,
		public sjyc=false,
	) {

	}
}

export class ColumnInfo {
	constructor(
		public FCOptionAvg = "",
		public FCOptionContent = "省",
		public FCOptionId = "4727022821451273279683681",
		public FQId = "cef0b98d-12aa-459b-8324-3a3ed70bc55b",
		public FSort = 1,
		public FTopicId = "3ada4389-d330-41e3-a2c3-a55472c106a4",
		public isChecked = "",
		public TemResult = "",
		public Dropdowns = new Array<DropdownInfo>(),
		public FTempResult = "",
	) {

	}
}

export class DropdownInfo {
	constructor(
		public FCSort = 1,
		public FCid = "6610545525077821332137254",
		public FDOptionId = "2737738567498487392276195",
		public FOptionContent = "哈尔滨",
		public FPid = "9356019377961576383899829",
		public FQId = "cef0b98d-12aa-459b-8324-3a3ed70bc55b",
		public FRSort = 0,
		public FSort = 0,
		public FTopicId = "3ada4389-d330-41e3-a2c3-a55472c106a4",
	) {

	}
}


export class RowInfo {
  constructor(
    public CountAnswerChd = null,
    public FBase64 = null,
    public FContentLen = null,
    public FExclusive = 0,
    public FHtml = "",
    public FIsCorrect = null,
    public FNeedAnswer = null,
    public FNeedLimit = null,
    public FOptionContent = "1",
    public FOrderBy = 1,
    public FQId = "cef0b98d-12aa-459b-8324-3a3ed70bc55b",
    public FROptionId = "b96f29a7-72b4-4a8b-99b9-26b07dde1632",
    public FRandom = 0,
    public FSkip = null,
    public FSort = 1,
    public FTopicId = "38e3bbf7-a5cf-4c7a-aca2-02a8ea268051",
    public FType = "1",
    public isUpdate = null,

    public isChecked: boolean,
    public testChecked: boolean,
    public Score = '0',
    public TemResult = "",
    public TemInput = "",
    public listColumn = new Array<ColumnInfo>(),
    public SortQ = 1,

  ) {

  }
}

export enum FType {
	单选 = "10001",//
	多选 = "10002",//
	填空 = "10003",//
	主观 = "10004",//
	矩阵 = "10005",
	打分 = "10006",
	地区 = "10007",
	随机 = "10008",//////////////
	段落说明 = "10009",////////////////
	时间 = "10010",//
	排序 = "10011",
	投票 = "10012",
	图片 = "10013",//

	下拉 = "10015",//
	比重 = "10016",
	联动 = "10017",//
	测试选择 = "10018",
	测试填空 = "10020",
	定位 = "30014",

	分隔符 = "20001",
	分页符 = "20002",
}



export class AnswerLog {//一个题型的信息
	constructor(
		public FQId = "",
		public FTitle = "",
		public FStartTime = "",
		public FAnswerId = "",
		public FPersonId = "",
		public FUpdateloadState = 1,//暂停-1，提交1（未上传）,已上传2
		public Gps = "",
		public TopicResult = new Array<TopicResultInfo>(),//每道题的信息
		public TopicIdList = new Array<string>(),
		public FSummitTime = "",
		public UseTime = "",
		public LastTime = "",
		public answerlognumber = "",
		public Address = "",
		public FPublishTime = "",
	) {

	}
}
export class TopicResultInfo {//
	constructor(
		public FTopicId = "",
		public FTitle = "",
		public FType = "",
		public listChild = new Array<ListChildInfo>(),//每道题选择的信息
		public FImage = "",
		public FAudio = "",
		public FShow = true,

		public FAudioLength = 0,
		public TempResult = "",
		public longitude = "",
		public lat = "",
		public Address = "",

	) {

	}
}
export class ListChildInfo {
	constructor(
		public FAnswerChdId = "",
		public FQId = "",
		public FTopicId = "",
		public FROptionId = "",
		public FROptionContent = "",
		public FCOptionId = "",
		public FCOptionContent = "",
		public FType = "",
		public FTextContent = "",
		public FTitle = "",
		public FROptionSort = "",
		public FCOptionSort = "",
		public FBase64 = "",
		public FBase64ID = "",
	) {

	}
}


export class AnswerLogUp {//一个题型的信息
	constructor(
		public FQId = "",
		public FTitle = "",
		public FStartTime = "",
		public FAnswerId = "",
		public FPersonId = "",
		public FUpdateloadState = 1,//暂停-1，提交1（未上传）,已上传2
		public Gps = "",
		public listTopic = new Array<MobileAnswer>(),//每道题的信息
		public TopicIdList = new Array<string>(),
		public FSummitTime = "",

	) {

	}
}
export class MobileAnswer {//
	constructor(
		public FTopicId = "",
		public FTitle = "",
		public FType = "",
		public listChild = new Array<MobileAnserChd>(),//每道题选择的信息
		public FSoundDuration: number,
		public FSoundData = "",
		public ImgData = "",
		public longitude = "",
		public lat = "",
		public Address = "",
	) {

	}
}
export class MobileAnserChd {
	constructor(
		public FAnswerChdId = "",
		public FQId = "",
		public FTopicId = "",
		public FROptionId = "",
		public FROptionContent = "",
		public FCOptionId = "",
		public FCOptionContent = "",
		public FType = "",
		public FTextContent = "",
		public FTitle = "",
		public FROptionSort = "",
		public FCOptionSort = "",
		public FBase64 = "",

	) {

	}
}
// export class allregion {
// 	constructor(
// 		public onerarr=  new Array<>(),

// 	) {

// 	}
// }
export class oneregionarr {
	constructor(
		public options = new Array<oneregion>(),

	) {

	}
}
export class oneregion {
	constructor(
		public text = "",
		public value = "",
		public parentVal = "",

	) {

	}
}
